List Property

Returns or sets the items contained in a control's list portion. The list is a string array in which each element is a list item.

Syntax

object.List(index) [ = string ]

The List property syntax has these parts;

Part

Description

 
object An object expression that evaluates to an instance of ComboONE.
index The number of a specific item in the list.
string A string expression specifying the list item.

Remarks

Use this property to access list items.

Note   To specify items you want to display in a ComboONE control, use the AddItem method. To remove items, use the RemoveItem method. To keep items in alphabetic order, set the control's Sorted property to True before adding items to the list.

 

Copyright (c) 1998 DBPro - Database Solutions for Professionals GmbH